home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
os2
/
wpsbk203.arj
/
READ.ME
next >
Wrap
Text File
|
1993-12-30
|
14KB
|
261 lines
Workplace Shell Backup Utility - 2.03
FOREWORD BY THE AUTHOR - 12/30/93
Changes since 10/04/93
- Some systems did not respond well to the WinDrawText. This caused
WPSbkup to loop trying to set the fontsize. Workaround was added
to trap this situation. 10 point fontsize is forced under these
circumstances.
- The system levels for OS/2 for Windows and the 2.1 Standard Edition
CSD were added to WPSbkup's recognised list.
Changes since 09/07/93
- Added the optional parameters NotifyOK and NoNotifyOK (default.)
The NotifyOK parameter may be placed after the specification of
the backup target directory on the command line or in the
Parameters entry field of WPSbkup's program reference settings
notebook. The NotifyOK parm causes WPSbkup to display an
informational message window just before it exits from a successful
backup run. WPSbkup *always* displays error messages for any
reason that causes it to exit without creating a valid backup.
As always, a discription of WPSbkup syntax requirements can be
displayed by entering WPSBKUP from the command line with no input
parameters.
- The WPSrest.cmd was modified slightly to cut down on non-essential
messages displayed during restore. Also, a new message is displayed
at the end of the restore process that instructs the PC user that
the restore is complete and a reboot is needed.
- Plugged a hole whereby WPSbkup would be unable to find the
desktop of OS/2 2.0 GA systems
- Added logic to more closely examine a display system's ability
to present a given font size in a specific target area.
Changes since 06/12/93
- WPSrest command generation is completely reworked. It is
now possible to copy the backup target to any other location.
The restore process is no longer dependent upon the physical
location of the backup directory. (The old approach required
that the backup directory be unchanged from the place of its
creation.) However, now you must change to the backup directory
before executing the WPSrest.cmd restore command. To relocate
the backup directory, use:
XCOPY D:\MYbackupDir\*.* A:\MYBKDIR /s /e /v
If the backup directory is contained upon an HPFS volume, you
may also simply rename the directory to establish backup
generation control:
REN D:\MYbackupDir E:\MYbackupDir.old
- WPSbkup can now find your Desktop directory even if you move
it to a different drive or subdirectory.
- WPSbkup will not allow you to specify the Desktop directory as
a backup target. This specification was accidentally made by
several users while adding WPSbkup to the Desktop popup menu.
Since the first step of the backup process includes deleting all
of the entries in the target directory, allowing the Desktop
directory to be specified as the target had dire consequences.
WPSbkup will ignore the Desktop path if it is found in the input
parameters.
- WipeWPS.exe is stored in the backup target directory during the
backup process. This removes any PATH requirements for the
restore procedure. Formerly, I suggested that WPSbkup.exe and
WipeWPS.exe be placed in the \OS2\INSTALL. This is no longer
required. These files may be placed in any directory with the
following provisions:
- They can't reside in the backup target directory
- They shouldn't reside in the physical Desktop Directory
- BOTH FILES MUST RESIDE IN THE SAME DIRECTORY
- WPSbkup has been given a new look. The presentation code is
completely rewritten. A new program icon has been assigned.
- WPSbkup recognizes and has been tested with all levels of OS/2 up
to and including the S3 video support production release.
Changes since 04/02/93
- Corrected an ambiguity in the creation scheme for the
progress indicator that caused an error under OS/2 2.1 GA.
- Tested and validated under OS/2 2.1 GA.
Changes since 11/08/92
- Inserted ATTRIB command to remove potential ReadOnly flag
from INI being replaced during restore. (3/93 beta)
- Added some performance/size parms to compile and link
- Changed WipeWPS from fullscreen to windowable
- Changed WipeWPS DosDelete to DosForceDelete
- Changed WipeWPS reply prompt from scanf to _getch to allow
use of minimal boot partition created for 2.1 by SE20boot
- Removed read.me section relating to long elapsed times.
(Thank you prf* API developers for 2.1!)
Changes since 11/02/92
- Fixed my own bug that occurred >63K record in OS2SYS.ini
Special thanks to Olaf Koch, Bruce Leiwant and Rick Yoder.
- WPSbkup release number now appears on the title bar
Changes since 9/18/92
- Bug workaround when >64K I/O area input to PrfQueryProfileData
- Version check recognises SP levels 6050 and 6055
Changes since 7/4/92
- 32 bit GRE beta level code tested and certified
- Bug workaround when 64K I/O area and enumerate appls
- DosForceDelete used to clear old target dir
- Wait pointer consistant over client area
- Progress indicator added for INI backups
- Enterprise registration now available
Introduction -
Thank you for trying WPSbkup. WPSbkup is a 32 bit utility that will backup
status and configuration data for the OS/2 2.x WorkPlace Shell (WPS).
The OS/2 WPS is the new and exciting object oriented user interface that
accompanies the OS/2 version 2 operating system. When you customize the WPS
to suit your own need and taste, you are modifying two physical elements of
OS/2. These elements are:
- The system initialization (INI) files, OS2.INI and OS2SYS.INI which
reside in the OS2 directory of the boot drive. These INI files contain
the bulk of the system customization information. They are opened for
update immediately after boot. The INI files are accessed through a set
of two indices. Since these files are updated through "random access",
data integrity using a sequential backup method can not be provided while
the INI files are open. WPSbkup uses API calls provided by OS/2 for the
purpose of accessing INI files with integrity. The INI integrity is
critical for the successful operation of your system. Remember that
OS/2 is a multitasking system. You can do real work while WPSbkup
is active.
- The desktop directory structure (DTP) and its associated extended attribute
(EA) data also holds a large amount of your customization data. The DTP
is more visible to you because you directly manipulate its elements using
the OS/2 file system and WPS objective controls. However, much of its
information is really stored in the INI files (see above.) When you drag
a "Program object instance" out of the Templates folder, drop it on the
desktop and fill in execution related information you are interacting with
DTP. However, almost all of the information that records this activity is
maintained in the INI files. WPSbkup records enough information about the
DTP to be able to recreate it in a way that preserves its associations in
the INI files. WPSbkup records the information in a way that allows you
to store the backup data on removable (floppy) FAT formatted media.
WPSbkup provides an alternative to the Alt+F1 procedure. WPSbkup will provide
backup data for your WPS and create a simple to use WPS restore procedure.
More than likely you will never need to use the restore procedure, but if you
do, it can save you hours of recovery time. WPSbkup backs up only the data
that "personalizes" your implementation of OS2 2.x. WPSbkup has been tested
with both US and National Language releases of OS2 version 2.
WPSbkup can also be used in large organizations to install a standard WPS user
interface for user machine that have identical (or VERY VERY similar) hardware
configurations.
Contents of this package are:
Read.Me - You're reading it right now.
WPSbkup.exe - The Workplace Shell image copy utility.
WipeWPS.exe - Clears out the desktop directorie(s) before recovery.
Installation is pretty darn simple:
Step1 - Copy WPSbkup.exe to a directory that you use to store programs. Use
a directory OTHER THAN the OS/2 Desktop directory or any of its
subdirectories, though. If a program is physically located in the
desktop directory structure AND that program is running when you
execute WPSbkup, then the backup will fail.
Step2 - Copy WipeWPS.exe TO THE SAME DIRECTORY AS USED ABOVE.
Step3 - Add a program entry to any of your folders for WPSbkup.exe. As far
as program settings go, all you really have to specify is path and
file name for where you placed WPSbkup.exe and the name of the
target directory into which Workplace Shell backup data will be placed.
Enter the name of the target directory in the Parameters entry field.
You must specify drive and full path name. (I.e. E:\WPSstore) If this
directory does not exist, WPSbkup will create it when it executes.
TAKE NOTE: WPSbkup.exe owns the target directory lock, stock and
barrel. When it starts execution, it erases all files
and sub-directories contained within its target directory.
So don't specify a directory that holds any files or
sub-directories that you wish to keep.
Executing the backup is as simple as double clicking the icon! WPSbkup.exe
is a well behaved 32 bit PM application. It does its considerable I/O on a
separate thread so that you can close it, minimize it or do other tasks while
it is running. After it completes execution, look at the Read.Me file that is
created in the target directory. This file will tell you exactly what must
be done in the case of a Workplace Shell failure.
Miscellaneous Notes:
1) To receive syntax help for WPSbkup, execute it with no parameters from
an OS2 command prompt.
2) Optional Parameters:
PurgePrompt | NoPurgePrompt - allows suppression of the confirmation
message box that warns of the erasure
of files and sub-directories in the
backup target. Default is PurgePrompt.
Be advised that WPSbkup is running when
the WPS status is stored. That means
that if you have to restore, WPSbkup will
be initiated for execution. If you use
the NoPurgePrompt parameter, a superfluous
backup will be taken when you reboot after
a restore.
TestVer2Rev | NoTestVer2Rev - allows suppression of the check made for
CSD XR02000_ or CSD XR02010_. Use this
parameter if you have more current
maintenance and are sure that this backup
procedure will still work with your
revision. Default is TestVer2Rev.
NoNotifyOK | NotifyOK - allows generation of an "all clear"
message that indicates the backup
completed successfully. Default is
NoNotifyOK. WPSbkup *always* reports
error conditions that might keep it
from being able to create a valid backup.
3) Many checks are made to insure that you will be notified if valid backups
are not created. However, image copies are created and the GIGO (garbage
in / garbage out) rule applies. Therefore, make sure that you are running
cleanly before you write over backup data with a new backup. Try to use
a rotating target directory methodology so that you can maintain a valid
-1 backup should the current backup data prove to be damaged.
================== SUPPORT SHAREWARE =====================================
I hope you find this utility helpful, but (here comes the disclaimer) I am
in no way responsible for any damages the use of this utility may cause.
You are free to use this utility at your own risk with no obligation to me,
the author, for only a short period of time.
This backup utility will allow 15 trial executions. Then it will "time out."
If WPSbkup is helpful to you or your organization, you should register it.
The registration fee for individuals is $15 (US). The site registration fee
for corporate entities is $150 (US). Finally, an enterprise registration is
available for organizations with more that ten branches or offices. The
enterprise registration fee is $1500 (US). Checks must be drawn upon US banks.
Please state the file date of WPSbkup.exe that you currently have (if any)
in your registration letter.
Please send registration fees to:
Dave Lester
PO Box 461
New Freedom, PA. 17349 USA
Comments, suggestions and bug reports may be submitted through CIS Mail
ID 75600,237. These will be answered on a "best effort" basis.